package com.xuecheng.teaching.service;

import com.xuecheng.commons.model.dto.PageRequest;
import com.xuecheng.commons.model.dto.WorkChaDto;
import com.xuecheng.commons.model.dto.WorkDto;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.teaching.domain.Work;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 作业 服务类
 * </p>
 *
 * @author itheima
 * @since 2022-08-14
 */
public interface WorkService extends IService<Work> {
    //作业分页以及查询
    ResponseResult findByPage(PageRequest params, WorkChaDto dto);

    //作业添加修改
    ResponseResult savework(WorkDto dto);

    //作业删除
    ResponseResult deletework(Long workId);



}
